package com.rs.service.impl.rs;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rs.dao.PositionMapper;
import com.rs.model.Position;
import com.rs.service.rs.PositionService;


@Service
public class PositionServiceImpl implements PositionService {

	@Autowired
	private PositionMapper pm;

	public List<Position> positonBydeid(Integer deid) {
		return pm.positonBydeid(deid);
	}

	@Override
	public List<Position> positionAll() {
		// TODO Auto-generated method stub
		return pm.positionAll();
	}

	@Override
	public Integer positionAdd(Position position) {
		// TODO Auto-generated method stub
		return pm.positionAdd(position);
	}

	@Override
	public Integer positionDel(Position position) {
		// TODO Auto-generated method stub
		return pm.positionDel(position);
	}

	@Override
	public Integer positionUpdate(Position position) {
		// TODO Auto-generated method stub
		return pm.positionUpdate(position);
	}
}
